package com.example.cms.dao;

import com.example.cms.entity.LoginLog;
import com.example.cms.pojo.Mesagge;
import com.example.cms.pojo.QueryPage;
import com.example.cms.pojo.QueryParams;
import org.springframework.stereotype.Repository;

import java.sql.SQLException;
import java.util.List;

@Repository
public interface LoginLogDao {
    int insert(LoginLog loginLog)throws SQLException;

    List<LoginLog> selectLoginLog(QueryPage queryParams);

    int updateBySession_id(LoginLog LoginLog);

   // List<LoginLog> selectLoginCount(LoginLog sysLoginLog);
}
